from Web.Tools import mysqlTool
from Web.Pojo.User import User

aList = mysqlTool.execute( "select name from db where id =2" , User )
print("----")
print( aList )
if(len(aList)!=0):
    print(aList[0].name)

#code = mysqlTool.execute("update db set name='3' where id =2")
#code = mysqlTool.execute("delete from db where name =1")

#code  = mysqlTool.fun()
#print(code)
